package com.handyshop.mall.dubbo.user.dto.org;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author hs
 */
@ApiModel(value = "编辑组织部门")
@Data
public class SysOrgEditDto {
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "部门code")
    private String code;

    @ApiModelProperty(value = "部门状态(0:启用,1:关闭)")
    private Boolean status;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}